package com.bjx.flow.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bjx.common.core.domain.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @desc: 流程设计数据实体
 * @author: liushuai
 * @date: 2022/10/24
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("flow_design")
@Schema(title = "FlowDesign",description = "流程设计")
public class FlowDesignEntity extends BaseEntity {
      /**
      * 设计id
      */
      @TableId(type = IdType.AUTO)
      @Schema(title = "designId",description = "设计id")
      private  Long designId;

      /**
      * 设计名称
      */
      @Schema(title = "designName",description = "设计名称")
      private  String designName;

      /**
      * 组织id
      */
      @Schema(title = "orgId",description = "组织id")
      private  Long orgId;

      /**
      * 分组编号
      */
      @Schema(title = "groupCode",description = "分组编号")
      private  String groupCode;

      /**
      * 设计内容
      */
      @Schema(title = "designContent",description = "设计内容")
      private  String designContent;

      /**
      * 设计版本
      */
      @Schema(title = "designVersion",description = "设计版本")
      private  String designVersion;

      /**
      * 流程定义Id
      */
      @Schema(title = "definitionId",description = "流程定义Id")
      private  String definitionId;

      /**
       * 流程定义Key
       */
      @Schema(title = "definitionKey",description = "流程定义Key")
      private  String definitionKey;

      /**
      * 是否启用(1、是/2、否)
      */
      @Schema(title = "enabled",description = "是否启用(1、是/2、否)")
      private  Short enabled;

}